package com.yang.service.impl;

import com.yang.dao.UserNoteInfoDao;
import com.yang.entity.UserNoteInfo;
import com.yang.service.UserNoteInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * 用户短信表(UserNoteinfo)表服务实现类
 *
 * @author yangdacheng
 * @since 2022-03-02 19:11:03
 */
@Service("userNoteInfoService")
public class UserNoteInfoServiceImpl implements UserNoteInfoService {
    @Resource
    private UserNoteInfoDao usernoteinfoDao;


    @Override
    public Boolean insertUserNote(UserNoteInfo userNoteInfo) {
        return usernoteinfoDao.insertUserNote(userNoteInfo);
    }

    @Override
    public Boolean updateUserNote(UserNoteInfo userNoteInfo) {
        return usernoteinfoDao.updateUserNote(userNoteInfo);
    }

    @Override
    public UserNoteInfo queryUserNoteByUid(String uid) {
        return usernoteinfoDao.queryUserNoteByUid(uid);
    }
}